.class public Lcom/estrongs/android/pop/app/StartServiceReceiver;
.super Landroid/content/BroadcastReceiver;
.source "StartServiceReceiver.java"


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Ljava/util/Random;

    invoke-direct {v0}, Ljava/util/Random;-><init>()V

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method private a(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 0

    .line 1
    invoke-static {}, Les/pz;->k()Les/pz;

    move-result-object p1

    invoke-virtual {p1}, Les/pz;->d()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-static {}, Les/pz;->k()Les/pz;

    move-result-object p1

    invoke-virtual {p1}, Les/pz;->g()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/util/b;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    const-string p2, "f_rece_r"

    invoke-static {p1, p2}, Lcom/estrongs/android/util/b;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void

    .line 3
    :cond_0
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/estrongs/android/pop/app/StartServiceReceiver$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/StartServiceReceiver$a;-><init>(Lcom/estrongs/android/pop/app/StartServiceReceiver;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 4
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 5
    sget-boolean v0, Lcom/estrongs/android/pop/j;->v:Z

    if-eqz v0, :cond_1

    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/FexApplication;->i()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    .line 6
    :cond_1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "com.estrongs.action.PERFNOTIFY"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    .line 7
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/app/StartServiceReceiver;->a(Landroid/content/Context;Landroid/content/Intent;)V

    return-void
.end method
